Method and system for multi-user channel allocation for a multi-channel analyzer

ABSTRACT

Multiple channels of a multi-channel analyzer are allocated among multiple users such that each user can initiate and retrieve the results of separate diagnostic sessions or strategies. Each analyzer channel of the multi-channel analyzer includes an input connection port, a trace buffer memory and logic circuitry. The input connection port of each analyzer channel is operably connected to a unique node in the communication network. A host processor connected to each analyzer channel assigns ownership of a unique set of analyzer channels to at least two different users such that each user can initiate separate traces that are simultaneously established on the communication network. The logic circuitry in each analyzer channel monitors frame data on the connection port at each node in accordance with a set of instructions established by the user assigned to the analyzer channel for that node, and the traces are captured in response to the set of instructions for each analyzer channel such that each user retrieves only the results of the analyzer channels assigned to that user.

RELATED APPLICATIONS

This application is a divisional of application Ser. No. 09/850,673 filed May 7, 2001, which in turn is a continuation-in-part of co-pending application Ser. No. 09/294,935 filed Apr. 19, 1999, and also claims priority to provisional Application No. 60/202,327, filed May 5, 2000.

FIELD OF THE INVENTION

The present invention relates generally to the field of diagnostic equipment, testers, and analyzers for use with communication interfaces among computing devices. More specifically, the present invention relates to a system for allocating multiple channels among multiple users for a multi-channel analyzer such that each user can initiate and retrieve the results of separate diagnostic sessions or strategies.

BACKGROUND OF THE INVENTION

Analyzers are used as diagnostic and testing tools at various stages of the development, integration and maintenance of electronic computing devices. Typically, an analyzer is designed for use with a particular electrical communication interface protocol, such as ATA, SCSI, Ethernet, or Fibre Channel. In a typical use, the analyzer is connected to one or two ports of the communication interface of the computing system being tested to record communication activity on the interface. The communication activity is captured and recorded in a dedicated trace buffer associated with the analyzer, and then analyzed and/or presented to the user for the purpose of diagnosing, testing, or maintaining the communication interface.

Analyzers designed for high-speed interfaces, such as the Fibre Channel protocol, must overcome significant technical challenges due to the extremely high bandwidth and high data transfer rates that are supported by the Fibre Channel communication interface. Examples of existing Fibre Channel protocol analyzers include the I-Tech Corporation IFC-20 Fibre Channel Analyzer™, the Xyratex TP-5-100-PA+ Fibre Channel Protocol Analyzer Plus™, the Ancot FCA-5010 Fibre Channel Analyzer™, the FuturePlus Systems Fibre Channel Bus Analysis Probe™, and the Finisar GT-A Fibre Channel Protocol Analyzer™. In each of these Fibre Channel protocol analyzers, the analyzer is provided with a pair of channels that connect to the input and output ports, respectively, of a single computing device on the interface. These analyzers are equipped with various triggering, filtering and capture mechanisms that are designed to identify, capture and store the data of interest at the particular device to which the analyzer is connected. While it is conventional to refer to an analyzer as being “triggered” in order to capture the data of interest, it should be understood that what the analyzer actually does is continuously store all of the data going by the analyzer, and then the signal to “trigger” the analyzer effectively stops this continuous capture so that the data remaining in the buffer of the analyzer is the data of interest. Once captured, the data can then be analyzed to determine the source of problems in the communication interface for that particular device or to optimize the performance of the communication interface for that particular device.

While existing Fibre Channel analyzers work well at debugging communication protocol problems at the particular device to which the analyzer is connected, they do not work well to track down problems or to optimize the communication interface across multiple computing devices in a large Fibre Channel network. Large Fibre Channel network installations can consist of tens to hundreds of computing devices linked over many miles of communication cables and often located at sites that are physically distant from one another. Because of the existing limitation in current Fibre Channel analyzers of only being able to connect to the input and output ports of a single device, analysis of a problem in a large Fibre Channel network requires the use of multiple analyzers. Unfortunately, there is no convenient way of integrating the data from multiple ones of these analyzers in order to make the analysis and presentation of data about such a problem a simple or straightforward matter.

In the I-Tech IFC-20 Fibre Channel Analyzer™, for example, monitoring of more than a single device requires the use of multiple analyzers. All of the analyzers must be independently connected to each of the multiple devices and must be independently programmed for triggering and filtering conditions. In order to allow one analyzer to trigger another analyzer to capture data, a trigger out-sync of the first analyzer must be connected to a trigger in-sync of the second analyzer. Although it is possible to arrange multiple analyzers in this manner, it is difficult and time consuming to set up because the analyzers are not designed for any type of coordinated arrangement. Moreover, it has been discovered that the kinds of problems encountered in large complex multi-device Fibre Channel communication networks are very often too complicated for such a simplistic arrangement as having a trigger out-sync signal of one analyzer connected to the trigger in-sync signal of a second analyzer. For example, in Fibre Channel networks that allow for multiple paths over which data packets may travel between a source and destination, monitoring the actual path that any given data packet may be taking becomes less and less predictable as the complexity of the network interconnections increases.

Once this type of multiple analyzer arrangement in the prior art has been set up and triggered, data from the two analyzers is time correlated by a time stamping arrangement to allow for comparison by a host processor of data captured by the pair of channels in the first analyzer with the data captured by the pair of channels in the second analyzer. The time stamped data is then separately downloaded from each analyzer and the host processor is used to correlate and evaluate the captured data. Examples of the use of time stamping to coordinate multiple communication analyzers for communication interfaces other than a Fibre Channel protocol are shown in U.S. Pat. Nos. 5,535,193 and 5,590,116. U.S. Pat. Nos. 5,276,579 and 5,375,159 describe examples of protocol analyzers for telecommunication data networks that include the ability to remotely operate and coordinate the analyzers. U.S. Pat. No. 5,600,632 describes performance monitoring using synchronized network analyzers in which the data from all of the analyzers is aggregated and sorted chronologically before it is analyzed.

Because all of the existing analyzers for such high-speed communication protocols such as the Fibre Channel protocol have been designed as single devices that can attach to and analyze the communications across a single target device, there has been no need or opportunity for a control arrangement capable of supporting multiple users. The ability to provide a method and system for allocating multiple channels among multiple users for a multi-channel analyzer would be advantageous.

SUMMARY OF THE INVENTION

The present invention is a method and system for allocating multiple channels among multiple users for a multi-channel analyzer such that each user can initiate and retrieve the results of separate diagnostic sessions or strategies. Each analyzer channel includes an input connection port, a trace buffer memory and logic circuitry. The input connection port of each analyzer channel is operably connected to a unique node in the communication network. A host processor connected to each analyzer channel assigns ownership of a unique set of analyzer channels to at least two different users such that each user can initiate separate traces that are simultaneously established on the communication network. The logic circuitry in each analyzer channel monitors frame data on the connection port at each node in accordance with a set of instructions established by the user assigned to the analyzer channel for that node, and the traces are captured in response to the set of instructions for each analyzer channel such that each user retrieves only the results of the analyzer channels assigned to that user.

In the preferred embodiment, the multi-channel analyzer is an integrated multi-channel Fibre Channel analyzer that provides coordinated and cooperative triggering and capture of data across multiple channels in a Fibre Channel network. The integrated multi-channel analyzer accommodates up to sixteen separate analyzer channels in a single cabinet. Each analyzer channel is comprised of an input port connection to the Fibre Channel network, a trace buffer memory that captures data and logic circuitry that controls the operation of the trace buffer memory in response to a status condition. A high-speed status bus is connected to each analyzer channel and propagates the status conditions of each analyzer channel to all other analyzer channels. In this way, the integrated multi-channel analyzer allows for distributive control over triggering decisions across multiple analyzer channels, and also allows for multi-level triggering where different conditions may be detected by different analyzer channels.

Analysis of the data captured by the integrated multi-channel analyzer is enhanced by a processor resident in the cabinet that is connected by a data/control bus to each analyzer channel and its associated trace buffer memory. The resident processor receives high level commands from a remote host processor and coordinates the way in which the analyzer channels are configured to monitor the Fibre Channel network. Once trace data is captured in one or more of the trace buffer memories, the resident processor coordinates the transfer of relevant portions of the trace data to the remote host processor. To reduce the amount of data that must be transferred to the remote host processor, each analyzer channel preferably includes a hardware search engine that can quickly and efficiently identify relevant data patterns in the trace buffer memory. Once the trace data has been captured in the trace buffer memories, the resident processor initiates a time indexing routine that uses the hardware search engine in each analyzer channel to index the trace data for that analyzer channel.

Because all of the trace data in all of the analyzer channels has utilized a common clock to establish the time-stamping, the resident processor can quickly identify and download data segments from the trace buffer memories of different analyzer channels to the remote host processor without the need for an intermediate step of time-stamp synchronizing this data. In addition, the resident processor is capable of performing initial analysis on the trace data internal to the multi-channel analyzer. These distilled results of the analysis may be communicated from the resident processor to the remote host processor over a relatively small bandwidth communication channel, such as an Ethernet connection, without the need for a large bandwidth communication channel in order to download massive amounts of raw data to the host processor as was required in the prior art. Moreover, the use of a common clock for storing the trace data removes the burden on the host processor of time-stamp collating this massive amount of raw data based only on the coordination of periodic sync pulses as provided for in the prior art.

Preferably, the analyzer channels of the multi-channel analyzer are configured with two analyzer channels per analysis logic card with a local bus on the analysis logic card providing cross access between the input port and trace buffer memories of both analyzer channels. The logic circuitry of each analyzer channel also preferably comprises a pair of field programmable gate arrays that implement a trac engine that controls triggering and operation of the analyzer channel and a memory control/filtering function gate array that controls memory access and filtering functions performed by the analyzer channel. The trac engine is preferably comprised of a pair of trac processors that each executes a unique set of analyzer instructions downloaded from the resident processor. Unlike existing analyzers, the trac engine provides for enhanced flexibility by allowing the analyzer instructions to be assembled and organized in such a manner as to allocate varying amounts of the functionality of each trac processor to monitor for different conditions. The utilization of two trac processors per trac engine allows each analyzer channel to create more complex multi-level triggering conditions.

In a preferred embodiment, each analysis logic card is plugged into both a frontplane and a backplane. The frontplane interfaces the input port connection to the Fibre Channel network with the analyzer channel. The input port connection is preferably a module designed to interface to the particular Fibre Channel environment through industry standard converters. The backplane interfaces the analyzer channel with the high-speed status bus and the data/control bus and on through to the resident processor. The backplane also provides a system-wide clock that is distributed to each analyzer channel, thereby solving the problem of the lack of a common time base which confronts the prior art when multiple analyzers are hand-wired together using only simplistic and trigger-out and trigger-in signals. As a result, it is not necessary for the multi-channel analyzer of the present invention to time-stamp collate trace data from different analyzers.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an overall block diagram showing how a prior art analyzer is configured to monitor two separate devices on a Fibre Channel communication interface.

FIG. 2 is a simplified schematic diagram showing the internal data path connections for the prior art analyzer of FIG. 1.

FIG. 3 is a block diagram showing a hub connection for a conventional Fibre Channel network utilizing the prior art analyzer of FIG. 1.

FIG. 4 is a simplified schematic diagram showing the internal data path connections for the prior art analyzer when configured with a hub connection as shown in FIG. 3.

FIG. 5 is an overall block diagram showing a preferred embodiment of the present invention monitoring multiple devices on a Fibre Channel communication interface.

FIG. 6 is a detailed block diagram of the preferred embodiment of the decoding of the high-speed status bus of the present invention.

FIG. 7 is a detailed block diagram of the preferred embodiment of the trac engine circuitry within the analyzer channel of the present invention.

FIG. 8 is a flow diagram showing an example of the triggering operation of a pair of prior art hand-wired analyzers.

FIG. 9 is a flow diagram showing an example of the triggering operation of the multi-channel integrated analyzer of the present invention.

FIG. 10 is a more detailed flow diagram showing the operation of FIG. 9 for two separate analyzer channels.

FIG. 11 is an illustration of a Satellite Selection dialog box.

FIG. 12 is an illustration of a Satellite Label dialog box.

FIG. 13 is an illustration of a Label Channels dialog box.

FIG. 14 is an illustration of a Channel Groups dialog box.

FIG. 15 is an illustration of a Loop Configuration dialog box.

FIG. 16 is an illustration of a Prefilter Settings dialog box.

FIG. 17 is an illustration of a Channel Status Bar.

FIG. 18 is an illustration of a View Trace Options dialog box.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

As a background for understanding the description of the preferred embodiment of the present invention, the way in which two existing Fibre Channel analyzers would be configured to monitor two separate devices on a Fibre Channel loop will be described. Thereafter, an overall description will be presented of how the preferred embodiment of the present invention operates to monitor two or more devices on a Fibre Channel loop in an integrated manner, thereby allowing for combinatorial triggering across multiple ports and more efficient monitoring of large scale Fibre Channel communication interfaces. Finally, a detailed description of the hardware and software of the preferred embodiment of the present invention will be presented.

Fibre Channel is a channel/network standard, which contains network features that provide the required connectivity, distance, and protocol multiplexing for a communication network. The Fibre Channel architecture represents a true channel/network integration with an active, intelligent interconnection among devices provided with a pair of Fibre Channel ports. All a Fibre Channel port does is to manage a simple point-to-point connection. The transmission is isolated from the control protocol, so point-to-point links, arbitrated loops, and switched topologies are used to meet the specific needs of an application. For purposes of describing the preferred embodiment of the present invention, a working knowledge of the Fibre Channel communication interface as a packet transmission network is assumed. For a background on the Fibre Channel communication interface, reference is made to the Fibre Channel Association materials, including the Fibre Channel tutorial available at http://www.fibrechannel.com.

A Fibre Channel communication interface 10 having multiple Fibre Channel devices 12 as part of a loop topology is shown in FIG. 1. In a Fibre Channel loop topology, the loop 10 is unidirectional in that each device 12 is connected on one side by an input or receive port 14 and on the other side by an output or transmit port 16. Each succeeding device 12 in the loop 10 is connected in a similar manner with the output port 16 of one device connected to the input port 14 of the next device in the loop 10. It will be understood that the loop topology shown in FIG. 1 is a simplified electrical topology that does not show the complexity of connection that may be present in the particular implementation of a given topology.

In the prior art, when a single device 12-1 needs to be monitored a single Fibre Channel analyzer 20 having a pair of channels 22, 24 is connected to the receive port 14 and the transmit port 16 as shown so as to effectively straddle the device 12. In this way, analyzer 20 is able to monitor all message packets on the communication interface 10 that both enter and exit the device 12-1 on the loop 10. These connections are made by interposing each channel 22, 24 between a pair of adjacent devices 12, thereby creating a break in the loop 10 with the analyzer 20 bridging this break.

The basic structure of a prior art analyzer 20, as shown in FIG. 1, is typically implemented by populating a single circuit board 30 with the circuitry for a pair of channels 22, 24. Alternatively, a pair of circuit boards may be populated, one for each of the channels 22, 24. The circuitry for the first channel 22 (Channel A) includes channel logic 32 and an associated buffer memory 36. The circuitry for the second channel 22 (Channel B) includes channel logic 34 and an associated buffer memory 38. Each channel logic 32, 34 typically comprises the Fibre Channel interface retiming, deserialization, and 8B-10B decoding, as well as triggering logic, and buffer control logic. In addition, channel logic 32, 34 may also include filtering logic, error checking, and other minor control functions. The channel logic 32, 34 and associated buffers 36, 38 are typically connected to a host processor (not shown) by a relatively large bandwidth bus 40. The bus 40 enables the host processor to set up triggering and filtering conditions within each channel logic 32, 34 and to download captured trace data from the buffers 36, 38. There is a pair of internal cross channel connections 26, 28 between the channels 22, 24 that can selectively transfer data between the channels 22, 24. In addition to the bus 40, internal traces or interconnections 44 between channel logic 32, 34 are typically provided for on the circuit board 30 to coordinate the operation of the two channels 22, 24. In the paired channel approach utilized by the prior art, both of the channels 22, 24 must meet the predetermined trigger conditions for that channel in order for the analyzer 20 to be triggered to capture the recorded data packets in both of the trace memories 36, 38. As Fibre Channel communication interfaces have grown larger, there have been occasions when it is necessary to utilize more than one analyzer 20 in order to track down a problem within a large Fibre Channel loop 10. It is also necessary to utilize more than one analyzer 20 for devices 12 which have dual ports, meaning that the device has two identical interfaces, each interface being connected to a different loop 10. Because commands to a given device 12 may be sent over either of the loops 10, the ports for each loop must both be monitored which requires two analyzers 20. In either of these situations, multiple analyzers 20 are used in a hand-wired arrangement with the operator selectively tying the trigger-out signal 46 from one analyzer 20 to the trigger-in signal 48 of another separate analyzer 20, as shown for example at 50. Unfortunately, there are at least two major problems with this approach in the prior art.

First, there is no consistent unified definition of what “time” is from one analyzer 20 to another. In a typical prior art configuration having multiple analyzers 20 hand-wired together as shown in FIG. 1, the analyzer 20 sending the trigger-out signal 46 would also send a periodic-sync pulse, for example, every 1 millisecond, to all other connected analyzers 20. Each analyzer 20 will be running its own clock at a similar, but not identical frequency. The analyzers 20 receiving the periodic-sync pulse use this pulse to coordinate the relative time-stamping of captured data within the margins created by the internal drift of the clock frequency of that analyzer in between sync pulses. No actual coordination of the circuitry of the hand-wired analyzers 20 is enabled, however, by virtue of using such a sync pulse.

Second, there is very little flexibility or adaptability in this type of arrangement in terms of the combinatorial relationships among triggering events at different analyzers. As can be seen from FIG. 1, the relationships among triggering events are severely constrained by the fact that there is only one trigger-out signal 46 and one trigger-in signal 48 for each channel pair 22, 24. As such, it is not possible to individually trigger only one of the channels in the channel pair 22, 24 because the trigger-in signal 46 for analyzer 20 triggers both channels 22, 24. Similarly, it is not possible to base the trigger-out signal 48 on an event seen at only one of the channels in the channel pair 22, 24 because the trigger-out signal 48 is wire OR'd together for the channel pair 22, 24. It is also not possible to allow for multiple triggering events, to provide for distributed control over the triggering process among multiple channels or to make selective triggering decisions based on the identity of a channel. It is important to understand that the paired arrangement of channels 22, 24 within a single analyzer 20 essentially has been dictated to date by the manner in which devices 12 are physically interconnected to a Fibre Channel network 10. Data traffic for any given device 12 is always split between two data paths, the receive port 14 and the transmit port 16. As will be described, the conventional manner for physically connecting devices 12 into a Fibre Channel network 10 relies on a paired connection of the receive port 14 and transmit port 16 in order to establish what appears to a user as a single duplex cable connection of the device 12 to the Fibre Channel network 10.

FIG. 2 shows how the data paths within the Channel A logic 32 would internally route the data for the configuration shown in FIG. 1. Data from the receive port is routed into an input port 51 onto internal cross channel connection 26 and out through an output port 52, with a copy of the data from the receive port 14 essentially being “stolen” or copied from this internal transfer at a tap port 53 for use by the Channel A logic 32. Similarly, the data for the transmit port is internally routed from an input port 54 onto internal cross channel connection 28 and out through an output port 55 with a copy to be used by the Channel B logic 34 taken from tap port 56.

While the physical connection of a Fibre Channel network 10 is shown in the manner described in FIGS. 1 and 2 for purposes of more easily understanding the flow of data around the network, in practice it is more conventional for a Fibre Channel network 10 to be physically interconnected as shown in FIG. 3. Typically, a Fibre Channel network is comprised of one or more hubs 57. Each hub 57 has an arbitrated loop comprised of multiple sockets 58 into which a duplex cable 59 is connected to hook devices 12 into the Fibre Channel network 10. The arbitrated loop of the hub 57 allows a user to create a completed loop, even though there may be empty sockets 58 because the hub senses whether there is a device 12 connected to each socket 58 and, if not, the arbitrated loop bypasses sending data to that socket and routes the data within the hub to the next socket 58.

When it is necessary to connect an analyzer 20 into this type of a hub configuration for a Fibre Channel network 10 as shown in FIG. 3, the analyzer 20 is interposed between the hub 57 and the device 12 using a pair of duplex cables 59. In order to simply accommodate this type of physical connection, the internal routing of the data within the analyzer 20 is different than as shown in FIG. 2. As can be seen in FIG. 4, the internal connections within the analyzer 20 are modified such that the data into the input port 51 of channel 22 (Channel A) is internally routed via cross channel 26 out of the output port 55 of channel 24 (Channel B). Similarly, the data into the input port 54 of channel 24 (Channel B) is internally routed via cross channel connection 28 out of the output port 52 of channel 22 (Channel A). By using this manner of internal routing of the cross channel connection data paths 26, 28 between the paired channels 22, 24, it is possible to simply connect the analyzer 20 between the hub 57 and the device 12 by a using two duplex cables 59, without forcing the user to be concerned with the actual one-way routing of the data that must be done in order to maintain the integrity of the loop that forms the Fibre Channel network 10.

As a result of these limitations in the prior art and the reliance upon the paired nature of the physical interconnection of devices 12 to hubs 57 within a Fibre Channel network 10, there has been no general motivation or opportunity, to date, to develop a Fibre Channel analyzer 20 having more than a pair of channels 22, 24 that can be arranged in any kind of combinatorial triggering other than the single trigger-in/trigger-out arrangement found in the prior art.

Referring now to FIG. 5, an overall block diagram of an integrated multi-channel analyzer 60 for a Fibre Channel communication network in accordance with the present invention will now be described. Unlike existing paired-channel analyzers 20, the preferred embodiment of the multi-channel analyzer 60 provides for up to sixteen separate analyzer channels 62 within a chassis in a cabinet 64. The cabinet 64 serves as a housing for encasing the components of the integrated multi-channel analyzer 60, preferably within a chassis in the cabinet, as a single piece of equipment. A resident processor 78 housed within the cabinet 64 has an external connection 86 that receives high level commands from a remote host processor 90 for configuring and controlling the multi-channel analyzer 60. At least three channels 62 are housed within the cabinet 64, although preferably a minimum of four analyzer channels 62 are provided for in multi-channel analyzer 60. Each channel 62 includes an input connection port 82 to connect to the Fibre Channel communication network 10, a trace buffer memory 76 and logic circuitry 74. The logic circuitry 74 controls selective write operations of traces from the input connection port 82 to the trace buffer memory 76 in response to a status condition for that channel 62. The integrated analyzer 60 provides a 160-640 MB/channel trace memory capable of being segmented into smaller trace memories. This facilitates the concept of unattended batch mode capture without the need to download jumbo sized traces. Trace memory may also be sparingly used if so chosen by enabling the many trace filters available, as will be described.

A high-speed status bus 66 connects to each of the channels 62 to propagate status conditions for that channel 62 to all other channels 62. This high-speed status bus 66 allows the multi-channel analyzer 60 to distributively control the status condition, including the trigger and memory control capture parameters in a cooperative manner across the analyzer channels 62. A data/control bus 68 connects each of the channels 62 and the processor 78 for the purpose of sending low level commands from the processor 78 to the channels 62. The data/control bus 68 transfers output from selective read operations of traces in the trace buffer memories 76 from the channels 62 to the processor 78. As described in further detail below, both the high-speed status bus 66 and the data/control bus 68 are preferably implemented over a backplane 80, although it will be understood that cabling or other equivalent connections among the channels 62 for these busses 66, 68 could also be utilized.

By providing for distributive control of the triggering and operation within each analyzer channel 62 based on the status conditions of not only that channel, but also the status of any other analyzer channels 62 within the multi-channel analyzer 60, the present invention provides for true combinatorial triggering across more than two channels. The multi-channel analyzer 60 of the present invention is the first to provide analyzer channels with the ability to communicate with one another beyond sending and receiving the simple fact that a pair of channels has been triggered. The distributive communication of status conditions among the analyzer channels enables cooperative operational decisions across analyzer channels in addition to conventional triggering and capture decisions, such as suspend capture, resume capture, or any other operations of which the analyzer channel is capable. Examples of the manner in which the multi-channel analyzer 60 can be configured to perform these multi-channel combinatorial status operations will be described in further detail after the details of the hardware architecture of the integrated multi-channel analyzer 60 are described.

With continuing reference to FIG. 5, there are three distinct sections of logic, which comprise the architecture of the analyzer 60 of the present invention. These are the front-end modules 70 and an associated frontplane board 72, the channel analysis logic cards 74 and associated trace memory daughter boards 76, and the micro-processor cards 78 and a backplane 80. The front-end modules 70 and logic cards 74 are added in pairs of channels as each card supports two channels 62 worth of their respective group of functions.

In the preferred embodiment, for each pair of channels 62 there is a front-end module 70 connected to a frontplane board 72. The front-end module 70 provides for connection from a Fibre Channel environment, (point-to-point, fabric, arbitrated loop) to the analyzer 60 made through the use of industry standard GBIC (Gigabit Interface Converter) modules 82. GBIC modules 82 offer the user the capability to easily convert the analysis port for a given channel 62 from a copper to optical channel and vice-versa. To allow for hot swapping of the modules, the GBIC modules 82 slide into one of sixteen small docking ports 84. There are two of these docking ports 84 per front-end module card 70.

The analysis logic card 74 and trace memory daughter board 76 which plugs onto the card 74, supports two channels and plugs into a backplane board 80. All logic cards 74 acquire a copy of the main system clock through the backplane 80. As such, there is no need for time reference pulses to synchronize trace data from multiple channels. In the preferred embodiment, each of the analysis logic cards 74 is configured to support a pair of channels 62 through a pair of trace buffer memories 76 and a pair of logic circuits 74. Each channel logic circuit 74 controls selective write operations of traces from one of the input connection ports on the GBIC modules 82 to an associated one of the trace buffer memories 76 in response to a status condition for that channel 62.

Preferably, each of the channel logic circuits 74 is comprised of a pair of field programmable gate arrays (FPGA), a first FPGA that implements a trac engine FPGA 92 for that channel 62, and a second memory control/filtering FPGA 94 that implements a memory control/filtering logic for the channel 62. A set of local interconnections referred to as a local bus 98 between the pairs of FPGAs 92, 94 on each analysis logic card 74 is also provided. This local bus 98 is separate from the high-speed status bus 66 and the data/control bus 68 such that the FPGAs 92, 94 of one channel 62 can access the trace buffer memory 76 and the connection ports 82 of the other channel 62 resident on the same analysis logic card 74.

In the preferred embodiment of the logic circuitry 74, a hardware search engine 96 is provided for each channel 62 so as to minimize the amount of trace data that is required to be transferred first to the processor 78 and ultimately to the host processor 90 by allowing the hardware search engine to perform a hardware search of the trace buffer memory 76 in response to parameters provided by the host processor 90 via the processor 78 of the multi-channel analyzer. For a more detailed description of the preferred embodiment of the hardware search engine 96, reference is made to the co-pending application entitled “DEEP TRACE MEMORY SYSTEM FOR A PROTOCOL ANALYZER”, application Ser. No. 09/193,779, filed Nov. 17, 1998, which is commonly assigned to the assignee of the present invention and the disclosure of which is hereby incorporated by reference.

In a preferred embodiment, the resident processor 78 automatically initiates a time indexing routine in the first few seconds after a trace has been completed utilizing the hardware search engines 96 of each of the channels triggered by the trace. The resident processor 78 repeatedly instructs the hardware search engine of each analyzer channel 62 to identify the location of data at specific time periods away from the triggering event (e.g., +/−1, 2, 3, 5, 10, 15 seconds, etc.). These locations are then stored by the resident processor 78 for each analyzer channel 62 in a time index. When a command from the remote computer 90 requesting information on all data at a given time period is received, the resident processor locates the relevant portions of the trace buffer memory 76 for each of the associated analyzer channels using the time index and downloads that trace information first over the data/control bus to the memory in the resident processor 78 and then over the Ethernet connection to the remote host computer 90. Unlike the prior art, there is no need for the remote host computer to time-stamp collate massive amounts of raw data based only on the coordination of periodic sync pulses because all of the trace data in the trace buffer memories 76 has been time-stamped with a common clock signal.

System control of the integrated analyzer 60 is accomplished through the use of a processor card 78 that is plugged into the backplane board 80 piggyback style. The processor card 78 supports a 10/100Mb/s Ethernet connection 86 with the aid of a small Ethernet board 88 connected to it via a forty-pin ribbon cable. The Ethernet connection allows a separate host computer 90 to issue high level commands to the system processor on the processor card 78. The processor card 78 preferably includes a high performance 133 MHz Pentium processor, 256 KB cache, and 32 MB of DRAM and is more than capable of offloading from the host computer 90 the intensive data mining chores that arise from the 16 channel, deep memory, multi-channels configurations possible with the integrated analyzer 60. In addition to post-processing chores, with the advanced logic circuitry 74 of the integrated analyzer 60, real-time statistics and monitoring will be another area in which the system processor on the processor card 78 is called upon to assist in managing to collect accurate and timely data for upload to the host computer 90.

In the preferred embodiment, the backplane board 80 is capable of accepting up to eight logic/memory card pairs that use a 96 pin, VME style, two piece connector system and two 80 pin connectors into which the processor card 78 is plugged. The backplane connectors are grouped into 2 columns of four connectors. Each group of four is connected to its own system interface bus that uses the IDE signals and protocol as the preferred embodiment of the broad band bus 68. The processor card 78 has an IDE interface to the data/control bus 68.

In the preferred embodiment, there are actually two high-speed status busses 66, which are directly or through a buffer, common to all eight connectors on the backplane 80. They are both synchronous to the 26 MHz system clock and are 16 bits wide. Each analyzer channel 62 will be assigned one of the 16 lines of each of these status busses 66 to drive based on a slot ID for that particular connector and a channel ID for the particular channel on the logic card 74. All channels 62 have the capability to listen to each other's signaling driven over these lines. One of the two busses 66 is called the ERT or “Extreme Real Time” bus. This bus carries information over which an effective L_PORT Filtering mechanism is used, as described hereinafter. The second bus called CRT or “Controlled Real Time” bus is used for the logic circuitry 74 and the ganging of trace buffer memories 76 from multiple channels 62. The CRT bus also requires the use of a synchronizing line, RT_SBIT, which is free running and pulses high every fourth clock cycle. RUN_SBIT is another synchronizing line, which after enabling the appropriate channels, toggles hi then low to start the channels record logic in a synchronized fashion. There are a handful of other signals for LEDS, a common external IN and a common external OUT which can be programmed for hi-active or lo-active operation. The two external lines are accessible from the front of the integrated analyzer 60 and use standard BNC connectors with TTL logic levels that terminate to a 50 ohms resistive load (EXT IN).

Aside from the busses 66, 68 described above, the backplane board 80 is the origin of the system clock. Preferably, the system clock is intentionally fast in that its frequency of 26.5685 MHz at +-100 ppm will always reside above the fastest Fibre Channel word rate of 26.5625 MHz at +100 ppm. This design choice forces all channel receive fifos on each front-end module 70 to operate at their almost empty boundary and minimize word skew between channels. This clock is individually distributed to each logic card 74, processor card 78 and to EXT IN logic using a serial termination technique.

The operation of the high-speed status bus 66 for the CRT bus will now be described. As indicated, each of the 16 lines of the CRT bus is driven by an individual channel 62. Using RT_SBIT, each line of the CRT bus is divided in time into four separate time slots, three of which are reserved for a 3-bit code indicative of one of eight possible the trigger codes for that channel 62, and the fourth of which is multiplexed between a quick going signal indicative of that channel 62 having been triggered, and a slow going signal indicative of a ‘memory full’ condition that informs other channels that the trace buffer 64 of that channel 62 is almost full. Such a slow going signal may be used in cases where two or more channels 62 have been programmed by the resident processor 78 to pool their trace buffer memories 64 to form a larger trace buffer space. In operation, each analyzer channel 62 is configured to send out a predetermined status code based on the combinatorial operation of the channels that is desired. For example, channels 1, 2, 4, and 6 may be programmed to send out a “7” status code when they encounter a trigger condition in the trace data on that channel 62. Another set of channels 62, for example, channels 1, 4, 5, and 7 are programmed to utilize the existence of any other channel sending out a “7” status code as part of the operational mode, such as a trigger condition, for those channels. In addition, the logic circuitry 74 of each channel 62 is also capable of masking the codes on the CRT bus for any of the channels 62. This allows for more advanced combinatorial operation based on selective channel combinations within the multi-channel analyzer 60.

Referring now to FIG. 6, a more detailed description of the operation of the preferred embodiment distributively controlled combinatorial logic is presented. As shown at 100, the CRT bus includes time slot allocations corresponding to all sixteen analyzer channels 62. The CRT bus carries three types of signals: Global Flags, Shared Triggers and Memory almost-Full Flags.

The Global Flags are decoded by each analyzer channel 62 in the sequence shown starting at 102. The CRT bus is passed through a mask at 102 that blocks signals from those channels that are programmed to be ignored. At 104, the three global flag lines in the CRT bus are decoded from each CRT bus wire for each channel by a decoder, yielding a total of 48 signals. At 106, these 48 signals are then put together by a combiner to produce eight Global Flag Bits used by the analysis logic card 74, each Global Flag Bit representative of the presence/absence on the CRT bus of a corresponding three bit code (i.e., Global Flag Bit 3=a three-bit code of ‘011’ was present on at least one of the non-masked channels of the CRT bus).

The Shared Triggers are decoded by each analyzer channel 62 in the sequence starting at 110. Like the Global Flags, the Shared Triggers pass through a mask at 110 that blocks signals from those channels that are programmed to be ignored for this analyzer channel 62. It will be noted, however, that the system has the flexibility of using a different set of masks for the Shared Trigger masks than the masks for the Global Flags. The fourth wire of the CRT bus is then decoded by a fast-going decoder at step 112 to produce sixteen shared trigger signals. These shared trigger signals are logically OR'd together by a combiner at step 114 to produce a signal shared trigger signal that is used by the analysis logic card 74.

The Memory Almost Full Flags are decoded in the sequence starting at 120. Here the fourth wire of the CRT bus is decoded by slow-going decoder at 120 that ignores the fast-going signals of the Shared Trigger and decodes only a much slower transition signal on the fourth wire for each of the sixteen channels. Because the Memory Almost Full Flag is not a time sensitive signal, the analysis logic card 74 singles out at 122 a selected channel as programmed by the resident processor 78 which controls any potential combination of the trace buffer memory 54 of this analyzer channel 62 with the trace buffer memory of another analyzer channel 62. That selected channel is then assigned to the Memory Almost Full Flag for the analysis logic card 74 for that analyzer channel 62.

While the preferred embodiment of the high speed bus 66 in the form of the CRT bus has been described in terms of a time division multiplexed multiple wire bus, it will be understood that alternative implementations are also contemplated to be within the scope of the present invention as long as the performance and characteristics of the operation of such alternate embodiments is consistent with the performance and characteristics necessary to accomplish the distributively controlled operation of the multi-channel analyzer 60 of the present invention. For example, it may be possible to increase the frequency of the time division of the CRT to allow for all of the signals to be carried upon a single path. Alternatively, the number of wires in the data path could be increased to accommodate additional analyzer channels in the cabinet or to form multiple rings or layers of analyzer channels within a multiple cabinet embodiment, for example.

Referring now to FIG. 7, the preferred embodiment of the trac engine FPGA 92 will be described in further detail. The trac engine FPGA 92 is preferably comprised of a pair of trac processors 150, 152 that each execute a unique set of analyzer instructions downloaded from the resident processor 78. Unlike existing analyzers, the trac engine FPGA 92 provides for enhanced flexibility by allowing the analyzer instructions to be assembled and organized in such a manner as to allocate varying amounts of the functionality of each trac processor 150, 152 to monitor for different conditions. The utilization of two trac processors 150, 152 per trac engine FPGA 92 allows each analyzer channel 62 to create more complex multi-level triggering conditions.

Each trac processor 150, 152 is connected to the front-end module 82 (FIG. 5) via a data path 154 that routes the Fibre Channel data to each trac processor 150, 152. This data path 154 is also connected to the second FPGA 94 which controls the routing of the data to the trace buffer memory 76. It should be understood that what the trace buffer memory 76 is actually continuously written with all of the Fibre Channel data going by the analyzer. The status condition signal that “triggers” the analyzer channel effectively stops this continuous capture so that the data remaining in the trace buffer memory 76 of the analyzer channel is the data of interest in response to the status condition. The first trac engine FPGA 92 interfaces with the second FPGA 94 using memory/control signals as shown at 156. The trac processors 150, 152 also interface with the local flags 98 and the high-speed status bus 66. The trac processors 150, 152 are also connected with the data/control bus 68.

Each trac processor 150, 152 is connected to a corresponding random access memory (RAM) blocks 160, 162 into which the instructions for operation of the trac processor are loaded by the resident processor 78. A common pool of various counters 164 is also provided for both of the trac processors 150, 152. In one embodiment, these counters include eight 32 bit word counters, eight 32 bit loop counters, and eight 44 bit time counters. All counters 164 are indexed and controlled (enabled and compared) according to the instruction residing in the RAM blocks 160, 162. Counters 164 may be readable through the resident processor 78 so that statistical information may be gathered at the end of a program run (execution of a set of instructions across one or more channel analyzers) or during a pause within the program during runtime. Counters 164 may also be loadable through the resident processor 78 so that instructions can be evaluated based off a terminal count indicator for that counter.

One of the key advantages of utilizing two separate trac processors 150, 152 in the trac engine FPGA 92 is that this allows for greater flexibility in the creation of multi-level status conditions. In essence, the programming of the trac processors 150, 152 allows for the creation of a high level AND logical condition between two entirely separate subsets of conditions. Another key advantage of the trac processors 150, 152 of the present invention is that it provides for enhanced flexibility by allowing the analyzer instructions to be assembled and organized in such a manner as to allocate varying amounts of the functionality of each trac processor to monitor for different conditions. Each RAM block 160, 162 can accommodate up to 128 complex instructions. A user programming the trac engine FPGA 92 can allocate one small block of instructions for one trac processor to evaluate a first condition, and allocate a second larger block of instructions for the same trac processor to evaluate a second, more complex condition. For a more detailed understanding of the programming operation of the trac engine FPGA 92, reference is made to Appendix A, attached hereto, which sets forth the programming manual for the trac engine FPGA 92.

In general, the operation and range of functionality of the second memory/control FPGA 94 is similar to filtering and memory logic control operations of prior art analyzers in that this FPGA 94 coordinates trigger detect, counter, and multiplexor operations as well as filtering and memory control. The multi-channel nature of the integrated multi-channel analyzer of the present invention, however, has influenced the architecture of the memory/control FPGA 94 in that the preferred embodiment of the present invention provides minimal 10B (ten bit/byte control encoding) trace support in a Fibre Channel storage area network, in favor of greater 8B (eight bit/byte data encoding) support than is currently provided by prior art analyzers. This is because most network problems addressed by the integrated multi-channel analyzer of the present invention will be of the high-level exchange type. Should lower level errors occur such as those typically encountered in 10B mode, a small scratchpad memory (256-512 words deep) in the memory/control FPGA 94 is utilized to capture a handful of such low level errors for inspection and one of the counters 164 is used to give indication of the frequency of such events.

The purpose of general filtering logic implemented by the memory/control FPGA 94 is to allow a user to quickly set up a filter mechanism that will limit the amount of data stored to trace buffer memory 76. The selections offered are of the most asked for and worthwhile variety. The other major reason for general filtering logic in the second memory/control FPGA 94 is to conserve the logic of the trac engine FPGA 92 for more advanced chores. General filtering in the memory/control FPGA 94 has comparators that will recognize common IU frame types. The four IU frame types for Fibre Channel protocols are CMND, XFER_RDY, DAT, and RSP. Any or all of these IU frame types may be captured to trace buffer memory 76. Additional parameters may be selected to further define filtering action for the individual IU frame types. These would be as follows: (i) CMND IU—Capture all command frames or a list of up to 8 user defined commands; (ii) DAT IU—Capture complete frame (header & payload), capture header only, or capture header and user specified number of data words; and (iii) RSP IU—Capture all response frames or only abnormal response frames. In addition to the above, the memory/control FPGA 94 can be programmed by the resident processor to filter out user specified Ordered Sets such as R_RDY. Provisions can also be made for general filtering of protocol types, (SCSI-FCP, IP, etc.), and ID filtering for point-to-point environments.

L_PORT Filtering logic is used in Fibre Channel Arbitrated Loop (FC_AL) environments when it is desired to eliminate all frames bound for the trace buffer memory 76 that are unrelated to the device under examination. It is logic in the second memory/control FPGA that uses an algorithm to find the physical address (PA) assigned to it or agreed upon at Loop Initialization. Once the PA is found, filtering proceeds as it does in ID filtering in point-to-point environments. The algorithm is as follows: (i) hardware on a particular channel determines it was the first channel to see an OPN on the loop. This port is in the OPN state; (ii) the same channel waits and then latches the destination and source addresses from the first frame that channel sends (the source address is the PA for the above OPN port in step (i); and (iii) hardware on a different channel determines it was the first channel to see a CLS to be sent on the loop without previously seeing an OPN. This port had just exited the RCVD_CLS or OPND state. The destination address from step (ii) is the PA of this port that had been OPND. A mechanism then exists which relays the addresses to all channels via the data/control bus 68.

Often the most powerful and advanced features of a piece of test equipment like the integrated multi-channel analyzer 60 of the present invention go unused, for there is seldom a need for the average user to use these features. In addition, advanced features often are the most costly to include. A corrective design approach adopted by the present invention is to design for similarities between functions that rarely get used and those that often or could get regularly used. The similarities between filtering and monitoring are many with the main difference being the action they take and not the input and circuitry they use to determine the action to take. With this said, the trac engine FPGA 92 of the integrated analyzer of the present invention is designed as a general purpose, programmable resource for filtering and/or monitoring. A program of instructions is loaded into each of the RAM blocks 160, 162 of the trac engine FPGA 92. This program will update comparators on the words which to compare for, counters to enable/disable, flag indicators to be set or system interrupts to be generated. If filtering of such control is not called for, these resources should be put to use to monitor the Fibre Channel traffic and offer real time statistics to the user. For a more detailed explanation of the unique instruction set and manner of programming the analyzer channels 62 of the present invention, reference is made to the Appendix A attached hereto which sets forth the programming manual for the trac engine FPGA 92.

Referring now to FIGS. 8 and 9, a description of how the operation of the integrated analyzer 60 of the present invention as shown in FIG. 5 differs from the operation of the hand-wired combination of prior art analyzers 20, as shown in FIG. 1, will be presented. In the situation where a user wanted to monitor both Device 2 and Device 5 and trigger the two channel analyzers 20 to capture relevant data, the only way in which the prior art combination to two hand-wired analyzers 20 can be programmed is shown in FIG. 8. At step 200, the first analyzer is programmed to wait for a first event X to occur on either Channel A or Channel B, both of which are monitoring Device 2. At step 202, the first analyzer is programmed to trigger upon detection of a second event Y that may occur on either Channel A or Channel B across Device 2. Once the combination of event X and event Y have been detected on either Channel A or Channel B across Device 2, Device 2 is triggered at step 204. The trigger-out signal 46 for the analyzer 20 monitoring Device 2 is set at step 206. Because the trigger-out signal 46 is hardwired to the trigger-in signal 48 for the analyzer monitoring Device 5, both Channels A and B across Device 5 are immediately triggered in response to the trigger-in signal 48 for the channel analyzer 20 monitoring Device 5 at step 208. It can be easily appreciated from this flow diagram that there are few if any options for how data is to be captured by the prior art multiple analyzer arrangement.

In contrast to the limited options for multiple channel triggering as provided for in the prior art, the present invention, as shown in FIG. 9, provides for distributive control over the analyzer channels of the multi-channel Fibre Channel analyzer. In a similar situation to the scenario outlined in FIG. 8, the present invention is programmed to wait for two separate events, X and Y, prior to triggering a trace. The high level programming of the multi-channel analyzer of the present invention at the resident processor starts at step 210 where a first specified group of channels are programmed to monitor for the first event X to occur on any of those channels. At step 212, a second specified group are programmed to monitor for the second event Y to occur on any of those channels. In the example shown in FIG. 9, there is no overlap between the first and second specified groups; however, such an overlap is also possible. Once event Y has occurred on any of the second specified group of channels, then the multi-channel analyzer triggers the programmed channels of a third group to store a trace on each of those channels at step 214 using the global flags. While it is most likely that this third group of channels will include all of the first and second group of channels, or just the second group of channels, it should be understood that it is also possible to have the third group of channels be entirely separate from the channels chosen to monitor for events X and/or Y. It will also be seen that the channels in all three of these groups may be monitoring the same device or different devices in the Fibre Channel network.

In addition, it is also possible to take an action at step 214 that is different that merely triggers the group of third channels. Specifically, the present invention provides the flexibility to allow for other actions, such as suspend or resume, which can be used to selectively control the storage of frame data in the trace buffer memory prior to a final trigger condition that will stop all further storage of frame data in the trace buffer memory. An example of this situation might be where it is desired to capture frame data in the third group of channels only for a given number of frames after occurrence of a first condition X on the first group of channels, but the stopping of this capture of frame data should occur only after the occurrence of a second condition Y. In this example, the global flags established after condition X would specify a suspend and then a resume operation to allow for capture of the desired number of frames after occurrence of condition X, whereas the global flags established after condition Y would specify a trigger operation that would cease any further storage of frame data in the trace buffer memories.

The manner in which the global flags are utilized to implement the distributive control of the triggering operations is shown best by reference to FIG. 10. In this figure, the actual internal steps taken by two of the channels, one channel from the first group and one channel from the second group, are shown side-by-side. In this example, the third group of channels that are ultimately triggered include all of the channels in both the first and second groups as shown at step 214 in FIG. 9.

The actions for channel 1 are shown to the right of FIG. 10. At step 220, channel 1 waits for condition X. At step 222, once channel 1 has detected condition X, channel 1 sets its global flag to ‘1’. Then at step 224, channel 1 now waits for the global flag to be set to ‘2’. When this occurs, channel 1 is triggered at step 226. The actions for channel 4 are shown to the left of FIG. 10. At step 230, channel 4 waits for the global flag to be set to ‘1’, which in this case happens at step 222. The programming loaded by the resident processor has established that the global flag set to ‘1’ will be indicative of at least one of the channels in group 1 having detected condition X. Now at step 232, channel 4 waits for condition Y. At step 234, condition Y has been detected and now channel 4 sets the global flag to ‘2’. Next at step 236, channel 4 is triggered. At the same time, step 224 receives the global flag set to ‘2’ and channel 1 is also triggered at step 226.

The operation of the preferred embodiment of a multi-channel analyzer 60 in accordance with the present invention will be described with reference to FIGS. 11-19. A multi-channel analyzer 60 is turned on by pressing a power switch on the cabinet for the analyzer. The user launches the control software on the host processor 90 by selecting the Satellite icon in the program group. The Satellite interactive menu appears on a display screen associated with the host processor 90.

The user begins configuring the Satellite analyzer by selecting multi-channel analyzer 60 and channels. It should be understood that each multi-channel analyzer 60 has already been connected to the network in the manner previously described. First, the user accesses the Satellite Selection dialog box 300, shown in FIG. 11, by clicking on Find Hardware in the Analyzer pull-down menu. If the desired Satellite is on the network but does not appear in the list 304 of Satellites, the user can do one of the following. If the user knows the network address or can obtain it from a network administrator, the user types the network address in the Network Address field 301 in either dotted decimal format (for example, 192.168.0.55) or as a fully qualified domain name (for example, satellite.i-tech.com) and clicks on the Connect button 302. Once the address is entered in this field, it becomes part of a list of recurring entries. The user may also click on the Search button 303 to search for Satellites on the network. The network will be scanned for Satellites, which are then listed 304 below the Search button 303. The user clicks on the desired Satellite in the list 304. It should be noted that in large typical networks, not all segments can be reached so a search may not find the Satellite for which a user is looking. In that case, the user should enter a network address as explained above.

In the Satellite list 304, different models of analyzers are indicated by different prefixes preceding the serial number of the analyzer. A user clicks on the desired Satellite in the list 304 to select that analyzer. If there are multiple Satellites connected to a system, the analyzers may be assigned to specific groups, as will be described. If this is the case, the user finds the group containing the desired Satellite by scrolling through the Group menu 305. The Satellites in the selected group are displayed by serial number, name (if assigned), and IP address. See the subsequent discussion of grouping for more information on how to assign a name to a Satellite and a Satellite to a group.

Clicking on a specific Satellite displays the channels 306 for that Satellite and indicates their status. A white unlocked icon indicates an available channel; a red locked icon indicates a channel selected by another user. Clicking on an unlocked icon selects a channel. It becomes a green locked icon. The name shown in the User Name field 307 appears next to the selected channel, indicating the owner of that channel. If a user selects a channel preceded by a red locked icon, a prompt appears warning that the channel is owned by another user. However, if the user disregards the prompt and proceeds, that user will take over ownership of that channel. Alternatively, password or supervisory protection could be required to override the warning. When a user is no longer using the channels, the user can select Disconnect in the Analyzer pull-down menu to give up channel ownership but remain in the Satellite software. If desired, a user can change the name shown in the User Name field 307, which indicates the user name assigned to the host processor. When the user exits this dialog box by clicking on the OK button 308, the change is saved in the software and becomes the new default in this field. Once completed, the user clicks on the OK button 308 to close the dialog box and load the settings into the hardware.

Having multiple Satellites connected to a system may cause difficulty in finding a specific Satellite to use. Satellite software allows users to group Satellites by function, location, etc., and to name the Satellites on a system, if desired, so users can quickly and easily find the Satellite they want to use. A Satellite is assigned to a group by doing the following. First, a user selects a Satellite according to the procedure for selecting a Satellite and channels as described above. Next, the user selects a Satellite Label from the Analyzer pull-down menu. The Satellite Label dialog box 320, shown in FIG. 12, appears on the screen. In the Group field 321, the user selects a name from the menu or enters the name of the group to which to assign the Satellite. A user can assign the Satellite to a new or an existing group. Satellites not assigned to a specific group are automatically assigned to the Default group. It should be noted that Satellites cannot belong to multiple groups. A user can override a Satellite group assignment made by another user by entering a different group name for a Satellite. If desired, a user can assign a name to the Satellite in the Name field 322. Once completed, the user clicks on the OK button 323 to close the dialog box. The Satellite Selection dialog box 300 lists the Satellite groups in the Group menu 305. If the user assigned a name to the Satellite, it is displayed in the Satellite list 304.

Satellite software dialog boxes and trace views identify channels by channel number. If desired, a user can create customized labels for channel identification. Channel labels are created by selecting Channel Labels in the Analyzer pull-down menu. The Label Channels dialog box 340 appears on the screen, as shown in FIG. 13. This dialog box 340 lists a user's channels and identifies the Satellite to which these channels belong. The user types the label 341 for the corresponding channel. It should be noted that, although a user can enter more text than is visible in the data entry field in the Label Channels dialog box, very long labels are difficult to view in their entirety on channel tabs, which display only 32 characters, and in trace views. Once completed, the user clicks on the OK button 342 to close the dialog box 340. The channel labels are saved and will appear in subsequent testing sessions. The labeled channels are for a specific Satellite and do not apply to any other Satellites in the system. Labels applied to channels can be seen only by the user who assigned them. If another user accesses those channels in a subsequent testing session, labels applied by a previous user are not visible. A user may change channel labels as desired by following the steps in the above procedure. In a trace view, channel labels can be changed or added, but these changes are not reflected in the analyzer dialog boxes.

Satellite's channel grouping feature allows a user to group channels selected in the Satellite Selection dialog box 300. A user may wish to group channels by the tests to be run, when the channels are to be used, or any other such criteria. To assign channels to specific groups or change a group assignment, do the following. First, select Channel Groups in the Analyzer pull-down menu. The Channel Groups dialog box 300, shown in FIG. 14, appears on the screen. Channels selected in the Satellite Selection dialog box are assigned to group 1 by default. The number of available groups corresponds to the number of available channels. For example, in FIG. 14, four channels are available so a user has four groups in which to put those channels. Drag and drop channels in display 364 to a new group as desired. The user selects the current group of channels to be used by scrolling through the Current Group menu 361. When this dialog box is closed, the current group is indicated in the Channel Group bar 362 at the top of the screen. Finally, the user clicks on the OK button 363 to close the dialog box.

The Loop Configuration dialog box 380 allows a user to set the loop configuration mode and specify the data transfer rate. The user selects Loop Configuration in the Analyzer pull-down menu. The Loop Configuration dialog box 380 for the appropriate Satellite model appears on the screen, as shown in FIG. 15. Channels are listed in pairs with mode selection buttons active for the channels that a user owns. The user selects the loop configuration mode 381 for each channel pair that identifies the Fibre Channel cabling configuration mode used in hardware installation. It should be noted that to change the mode for a channel pair, a user must own both channels in the pair. The user sets the data transfer rate at 1 Gbps (1.0625 Gbps) or 2 Gbps (2.125 Gbps) by selecting the desired radio button in the Capture Rate field 382. The value selected applies to all channels that a user owns. Once completed, the user clicks on the OK button 383 to close the dialog box and load the settings into the hardware.

Prefiltering parameters are defined in the Prefilter Settings dialog box 400. Prefiltering (runtime filtering) is the process of filtering data before it is written to trace memory. TRAC engines can also be used to control prefiltering by using the suspend and resume actions in a TRAC strategy. Reference is made to the accompanying appendix entitled Section 5—TRAC Strategy Builder, for more information on this capability. Postfiltering provides additional filtering capability by filtering trace view data. Reference is made to the appendix entitled Section 4—Viewing Traces, for more information on this feature. In the Prefilter Settings dialog box, a user can set parameters for address, payload, and frame filtering for each channel capturing data. Address filtering limits analyzer recording to frame activity involving only the specific hexadecimal addresses in the source/destination address pair(s). Payload filtering limits the amount of payload within the Fibre Channel frame stored into trace memory. Frame filtering filters out the frame type(s) specified. It should be noted that setting payload or frame filtering in the Prefilter Settings dialog box affects the search results. A user should be careful when defining filter settings that a user does not filter out data for which a user may want to search.

The prefiltering parameters are set by doing the following. First, a user selects Prefilter Settings in the Trigger/Filter pull-down menu. The Prefilter Settings dialog box 400, shown in FIG. 16, appears on the screen. Next, the user selects a channel for which to define filter settings by clicking on the desired channel tab 401. To define Payload filtering, the user clicks on the Payload Filter checkbox 402 to enable payload filtering. In the Payload Words field 403, the user enters a value (0 to 528) for the maximum number of payload words to be captured. A value of 0 indicates that no payload words will be captured. Trace views will report the entire payload size and will display only the desired amount of payload words. It should be noted that payload filtering will affect high-level decoding since it operates on all frames and not just on data frames. Therefore, it is recommended that when using payload filtering, the value in the Payload Words field 403 should be large enough that all command and status frame payloads will be captured in their entirety. The user clicks on the Filter On checkbox 404 to enable filtering. Enabling filtering causes primitives to be filtered out during data capture even if no other filtering options are selected. To define address filtering, the user clicks on the Address Filter checkbox 405 to enable address filtering. The user indicates the source and destination address for recording frame activity. This is a three-byte address in hexadecimal, identifying domain, area, and port. A user can enter two x's, indicating “Don't Care” for an entire byte. The user clicks on the Add button 406 to add the source/destination addresses to the list. To edit an address pair, the user selects the address pair in the list 417 and changes it as desired. Clicking on the Update button 407 to replace the selected address pair with a user's changes. The Remove button 408 is used to remove a selected address pair from the list. A maximum of eight address pairs can be entered for address filtering.

During data capture, Satellite filters out everything for that channel except frame activity involving the source/destination address pairs indicated. In the example in FIG. 16, the address filter list contains two address pairs. During analyzer operation, the only frame activity captured is the activity occurring between source address 11 11 10 and destination address 11 11 11 and source address 11 11 13 and destination address 11 11 14. Nothing between source address 11 11 10 and destination address 11 11 14 or source address 11 11 13 and destination address 11 11 11 can be captured. The type of frames to filter are selected by clicking on the desired checkbox(es) in the Filter Out field 409 for Non-SCSI, Data, and Xready frames. For example, selecting Non-SCSI, filters out everything that is not a SCSI frame. For CMD and RSP frames, capture all or filter out all commands or statuses are selected by clicking on the radio button for the desired filtering action. Filter out or capture specific commands or statuses are selected by clicking on the Capture Specific Cmds or Throw Specific Cmds radio button as desired. For CMD frames 410, a user scrolls through the menu 412 to select the desired command to capture or filter out. The commands available depend on the desired device selected in the CDL list 413. Click on the Add button 414 to add the command to the list 418. A user can continue to add commands to the list 418 as desired. For RSP frames 411, a user scrolls through the menu 415 to select the desired status to capture or filter out. Click on the Add button 416 to add the status to the list 419. Again, a user can continue to add statuses to the list 419 as desired.

A vendor unique command or status can be specified by selecting Custom in the menus 412 or 415 and entering the appropriate hexadecimal value. Descriptive information, if desired, is provided in the Description field 420 on the defined filter settings for this channel. The steps previously described are repeated to define filter settings for each channel. Parameters from the one channel may be copied to another in the Prefilter Settings dialog box 400 by dragging and dropping the tab of a configured channel onto a tab of an unconfigured channel.

Before starting the Satellite on the selected channels, a user should determine the data to capture. The Satellite software provides two ways to do this: load an existing TRAC strategy, or create a TRAC strategy in the TRAC Strategy Builder. With the TRAC Strategy Builder, a user can create simple or complex capture strategies to load into Satellite. If desired, a user can save a capture strategy to a TRS file to be reused in later capture sessions. The TRAC Strategy Builder consists of a series of dialog boxes that guide a user through the TRAC strategy creation process. Complex multi-level capture strategies can be configured without doing any programming. If the desired TRAC strategy has not been created, reference is made to the accompanying appendix entitled Section 5—TRAC Strategy Builder for more information.

After the desired capture strategy has been loaded, the user selects Start from the Analyzer pull-down menu. The channels begin capturing and storing data into a circular trace memory. During analyzer operation, the channel status bar, shown in FIG. 17, reports on a user's channels. The Buffer bar graph 425 shows a dynamic representation of data in the buffer. Holding the cursor over the Buffer bar graph displays the percentage of data in the buffer. When the bar reaches the top of the graph, it starts again from the bottom, displaying a red line to indicate buffer overflow. The Link Utilization bar graph 427 shows a dynamic representation of how much Fibre Channel activity is occurring. Holding the cursor over the Link bar graph displays the percentage of Fibre Channel activity. A user can select View Trace in the Analyzer pull-down menu to end data capture and display trace data. The View Trace Options dialog box 440, shown in FIG. 18, appears on the screen for selecting the trace view(s) and the channels to display the trace data. Reference is made to the appendix entitled Section 4—Viewing Traces for more information on this feature.

A variety of features are available in Satellite for displaying trace data. A user can display data in several views, from low-level to higher-level views. More than one view of the same trace can be displayed on the screen at the same time. A user can navigate to specific data in large traces quickly and easily using Satellite's navigational tools. When viewing trace data from multiple channels, a user can manipulate the channels in various ways to easily view relevant data. Reference is made to the appendix entitled Section 4—Viewing Traces for more information on this feature.

To close Satellite software and return to the Windows desktop, a user performs the following. If not connected to any channels, select Exit in the File pull-down menu. To disconnect the channels and exit the software, select Disconnect in the Analyzer. To exit the software but keep channel connections, select Exit and Keep Channel pull-down menu in the File pull-down menu. The analyzer may now be turned off.

Although the invention hereof has been described by way of example of a preferred embodiment, it will be evident that other adaptations and modifications may be employed without departing from the spirit and scope thereof. The terms and expressions employed herein have been used as terms of description and not of limitation; there is no intent of excluding equivalents and it is intended that the description cover any and all equivalents that may be employed without departing from the spirit and scope of the invention. APPENDIX A Trac Engine Programming Manual Definition b-word A b-word is part of an instruction that contains data that must match the fibre channel word. flag A flag is a signal used to coordinate the actions of multiple engines or channels. global flag A global flag is a 3-bit signal used to coordinate the actions of multiple channels. local flag A local flag is a signal used to coordinate the actions of multiple engines on the same logic board. instruction An instruction is a 96-bit packet of data which tells the engine what to do. jump A jump is the action of moving to a new location in program memory specified in a label. label A label is a location in program memory that we may move to with a jump. loop counter A loop counter counts events; it only increments when it receives an “increment” command. program memory The program memory is a block of memory dedicated for programs instruction storage. qualifier A qualifier is part of an instruction that has a decision-making statement. It describes the conditions to be met for a task or jump to take place. start-of-step The start-of-step address is the address of the first program instruction in a step. The start-of-step address is stored so that if a later instruction fails to match the fibre channel data stream, program control will move back to the start-of-step so the step can begin again. step A step is a group of instructions that may specify (1) a frame along with decisions and tasks performed during or after that frame, (2) a fibre channel primitive, or (3) decisions and tasks that do not depend on fibre channel data. task A task is part of an instruction that has a list of actions to be taken, like clearing counters and sending signals. time counter A time counter counts time in fibre channel words. word counter A word counter counts words within frame payloads; it does not count frame header words or ordered sets in between frames. x-word An x-word is part of an instruction that contains the don't-care bits for matching the fibre-channel word. The matching data is usually written “010xxxxx...” and the x's are parts of the x-word. Program Format

Each trac engine processor may contain up to 128 instructions. The allowed program structure is provided in Backus-Naur Form (BNF):

Instructions

Instructions are the objects that make up a program. There are seven instructions currently defined.

Instruction Types:

-   0000: HALT (Halt) -   0001: SOF (Start-of-frame with abort qualifier setup) -   0010: KPOF (K-word, part of frame) -   0011: KORD (K-word, ordered set) -   0100: reserved -   0101: ABORT (abort qualifier setup) -   0110: DWORD (D-word) -   0111: DFLOAT (Floating D-word) -   1000: EOFBRAT (End-of-frame with branch-task) -   1001: BRAT (Branch-task) -   1010: WAIT (Wait then branch-task) -   1011: reserved -   1100: ERR (Error) -   1101: reserved -   1110: reserved -   1111: reserved     Instruction Descriptions: -   HALT (Halt): This instruction immediately halts the engine so that     no more instructions are processed. -   SOF (Start-of-frame): This instruction defines the type of     start-of-frame to match. It can also define an abort qualifier that     allows a branch. -   ABORT (Abort qualifier setup): This instruction defines an abort     qualifier. -   KPOF (K-word, part of frame): This instruction will almost never be     used. It is a slight variation on the KORD instruction that allows     the user to define a custom end-of-frame ordered set. It defines     that ordered set and a single qualifier with a branch and/or task. -   KORD (K-word, ordered set): This instruction is intended to match a     single ordered set, such as R_RDY or ARBx. -   DWORD (D-word): This instruction matches a data word inside a frame.     It defines a word location (the offset from the SOF that must be     matched for the step to continue. -   DFLOAT (Floating D-word): This instruction matches a data word     inside a frame, but may be in any location inside the frame. -   EOFBRAT (End-of-frame with branch-task): This instruction matches a     known EOF type and allows the definition of two qualifiers, each     with a branch if needed, and four tasks, each executed based on     either qualifier. -   BRAT (Branch-task): This instruction is identical to the EOFBRAT     instruction except it does not attempt to match any fibre channel     data. It and allows the definition of two qualifiers, each with a     branch if needed, and four tasks, each executed based on either     qualifier. -   WAIT (Wait, then branch-task): This instruction is identical to the     EOFBRAT except that it waits for one of the qualifiers to become     true before proceeding to the next instruction. -   ERR (Error): This instruction ignores the data stream and matches     errors detected by the endec.     Internal Processor Objects: -   mem_qual_z[19..0]: Qualifier Z must have a storage location because     it is evaluated during every instruction after it is defined. This     is the location where qualifier z is stored. -   mem_label_z[7..0]: Label Z must have a storage location because it     may be used several instructions after it is defined. This is the     location where label z is stored. -   wcount[9.0]: this is a counter which counts words in a frame. The     SOF instruction starts the counter and is counted as word number 0.     The next word following the SOF will be word number 1. -   start-of-step_address[7..0]: This is the address of the SOF     instruction that began the current program step. Upon failure to     match one of the words is the step, the processor will jump back to     this address to begin the step again. -   eof_any: This is a signal that indicates a known end-of-frame is     being received. -   fc_k_word: This is a signal that indicates the current word starts     with the special character K28.5. -   eng_state: This is the current state of the engine. Can be RUN or     HALT.     Actions Performed to Process the HALT Instruction: -   eng_state=HALT.

Actions Performed to Process the Abort Instruction: if (abort_config.loadbit) {     mem_qual_z=qual_z;     mem_label_z=label_z;     abort_scope=abort_config.scope; } goto next instruction;

Actions Performed to Process the SOF Instruction: start-of-step_address==here; if (abort_config.loadbit) {     mem_qual_z=qual_z;     mem_label_z=label_z;     abort_scope=abort_config.scope; } if (fc byte 0 is K28.5 and bword/xword match bytes 1,2,3) {     wcount=1;     goto next instruction; } else repeat instruction;

Actions Performed: if (eof_any) goto start-of-step; if (wcount==wordnum) {     if (bword/xword match fc word)     {         goto next instruction;     }     else goto start-of-step; } else repeat instruction;

Actions Performed:

-   if (fc_eof_any) goto start-of-step;

if (bword/xword match fc word) {   goto next instruction; } else repeat instruction;

Actions Performed: if (eof_type==fc_eof_type) {   if (abort_scope==SCOPE_FRAME)   {     mem_qual_z=NULL;   }   if (qualifier_a.met( ))   {     if (qualifier_a.dotask_a) do task_a;     if (qualifier_a.dotask_b) do task_b;     if (qualifier_a.jump) goto label_a;   }   if (qualifier_b.met( ))   {     if (qualifier_b.dotask_a) do task_a; // note each     task will be only be     if (qualifier_b.dotask_b) do task_b; // performed     once per instruction     if (qualifier_b.jump) goto label_b;   }   goto next instruction; } else {   if (fc_eof_any) goto start-of-step;   else repeat instruction; }

Actions Performed: if (qualifier_a.met( )) {   if (qualifier_a.dotask_a) do task_a;   if (qualifier_a.dotask_b) do task_b;   if (qualifier_a.jump) goto label_a; } if (qualifier_c.met( )) {   if (qualifier_b.dotask_a) do task_a; // note each task will be only be   if (qualifier_b.dotask_b) do task_b; // performed once per   instruction   if (qualifier_b.jump) goto label_b; } goto next instruction;

Actions Performed: if (qualifier_a.met( )) {   if (qualifier_a.dotask_a) do task_a;   if (qualifier_a.dotask_b) do task_b;   if (qualifier_a.jump) goto label_a;   goto next instruction; } if (qualifier_c.met( )) {   if (qualifier_b.dotask_a) do task_a; // note each task will be only be   if (qualifier_b.dotask_b) do task_b; // performed once per   instruction   if (qualifier_b.jump) goto label_b;   goto next instruction; } repeat instruction;

Actions Performed: if (fc byte 0 is K28.5 and bword/xword match bytes 1,2,3) {   if (qualifier_a.met( ))   {     if (qualifier_a.dotask_a) do task_a;     if (qualifier_a.jump) goto label_a;   }   goto next instruction; } else if (fc_k_word) goto start-of-step; else repeat instruction;

Actions Performed: if (fc byte 0 is K28.5 and bword/xword match bytes 1,2,3) {  if (qualifier_a.met( ))  {   if (qualifier_a.dotask_a) do task_a;   if (qualifier_a.jump) goto label_a  }  goto next instruction; } else repeat instruction;

Actions Performed to Process the ERR Instruction:

-   if (err_type==fc_err) goto next instruction; -   else repeat instruction;     Tasks

A task is a group of operations to be performed. Tasks can increment, stop, or reset counters, change the flag output, send a signal to the filter or trace memory, assert the external output, or interrupt the main CPU.

A task will only be performed if a qualifier is met. Each qualifier has bits labeled dotask_a and dotask_b that determine if any tasks will be executed.

The default task field should be all zeroes; any field filled with zeroes will not perform any action.

Each task item is performed simultaneously: setting a flag, asserting the external output, interrupting the CPU, sending a trace memory signal, sending a filtering signal, and executing up to eight counter operations can all be done in parallel. Of course, the possibility of multiple conflicting operations exist. Two engines may try to set conflicting flags or two tasks may try to reset and increment a counter simultaneously. These situations should be avoided if possible; however, they will be handled deterministically (the result will always be the same) and are described in the flag output and counter sections.

If two tasks in one instruction attempt to perform different trace memory operations or set the flag state, the A task will always succeed while the B task will always fail. This situation has no practical use and can and should be avoided. Task A, B format: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 ext_out int tmc flag filt counter

-   counter[6..0]: Perform a counter action. See the counter section. -   ext_out: Assert the external output. -   flag[3..0]: Perform a flag action. See the flag section. -   tmc[1..0]: Send a trace memory control signal.     -   00 nothing     -   01 trigger     -   10 start or resume recording     -   11 stop (suspend) recording -   filt: Allow this frame to pass the filter. -   int: Interrupt the main CPU.     Qualifiers

The qualifier is like an “if” statement; it makes a decision and determines whether or not the data processor takes certain actions.

The qualifier specifies a statement which follows one of the following patterns:

-   -   if X     -   if Y     -   if NOT X     -   if NOT Y     -   if X and Y     -   if NOT X and Y     -   if NOT X and NOT Y     -   if NOT X and NOT Y     -   if X or Y     -   if NOT X or Y     -   if X or NOT Y     -   if NOT X or NOT Y

The qualifier also contains a list of tasks to execute if the qualifier conditions are true. 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 do_b do_a nor not_x x goto not_y y

-   do_a, do_b: each bit determines if a task should be executed if the     qualifier conditions are true.

These bits are illegal in the SOF instruction as SOF cannot execute tasks.

-   nor: the entire function is negated. -   not_x: negate X. -   x: the X statement. -   goto: this bit determines if the processor should jump to a new     instruction if the qualifier bits are true. If the goto bit is 0     this instruction will not branch based on this qualifier. Tasks may     still be executed, however. -   not_y: negate Y. -   y: the Y statement.

Note that each possible combination may be read as an AND or an OR statement: nor not_x not_y OR function AND function 0 0 0 X or Y !(!X and !Y) 0 0 1 X or !Y !(!X and Y) 0 1 0 !X or Y !(!X and !Y) 0 1 1 !X or !Y !(X and Y) 1 0 0 !(X or Y) !X and !Y 1 0 1 !(X or !Y) !X and Y 1 1 0 !(!X or Y) X and !Y 1 1 1 !(!X or !Y) X and Y

Definition of X and Y: 000000 FALSE. 000001 reserved. 000010 reserved. 000011 FALSE if a CPU interrupt is pending, TRUE if the CPU has cleared the interrupt. 000100 TRUE if the external input is asserted. 000101 reserved. 00011x reserved. 0001xx reserved. 001xxx TRUE if any of the selected local flags is present: xx1 = the other engine in this chip x1x = engine A in the other chip 1xx = engine B in the other chip 010xxx TRUE if a channel is transmitting global flag xxx. 011xxx reserved. 1xxxxx TRUE if counter xxxxx is done. Other Fields eof type: (4 bits)

This field, part of the EOFBRAT instruction, determines what type of EOF must be present in order for a word match to occur.

-   0: doesn't match anything. -   1: matches any known EOF. -   2-3: reserved -   4: EOF normal (EOFn) -   5: EOF terminate (EOFt) -   6: EOF class 1 disconnect-terminate or class 4 deactivate-terminate     (EOFdt) -   7: EOF abort (EOFa) -   8: EOF class 1 disconnect-terminate-invalid or class 4     deactivate-terminate-invalid (EOFdti) -   9: EOF normal-invalid (EOFni) -   10: EOF class 4 remove-terminate (EOFri) -   11: EOF class 4 remove-terminate-invalid (EOFrti) -   12-15: reserved     err type: (8 bits)

This field determines what type of error must be present for the next instruction to be executed.

Each bit represents one type of error and a one in that field means that error will cause a match to occur and the next program step will be executed.

-   bit 0: invalid word -   bit 1: bad CRC -   bit 2: link failure -   bit 3: loss of signal -   bit 4: primitive sequence protocol error -   bit 5: unrecognized ordered set -   bit 6: reserved -   bit 7: reserved     inv byte: (4 bits)

Each bit, when 1, indicates that a match should occur on a certain byte if the defined b-word and x-word do not provide a true comparison. This allows matching based on “match x . . . y . . . and anything but z.”

EXAMPLES

-   0000: word match if (match byte 3) and (match byte 2) and (match     byte 1) and (match byte 0). -   0100: word match if (match byte 3) and (NO match byte 2) and (match     byte 1) and (match byte 0). -   1111: word match if (NO match byte 3) and (NO match byte 2) and (NO     match byte 1) and (NO match byte 0).     abort_config: (8 bits) -   bit 0: store a new qualifier z. -   bit 1: new qualifier z has one-frame scope.     Counters

There may be up to 24 counters: 8 time counters, 8 loop counters, and 8 word counters. Each counter behaves differently, but all share some characteristics:

-   -   Counters always count up.     -   Counters have one initialization value which is loaded every         time the counter is reset.     -   Counters will output a “done” signal when they roll over from         the highest possible count to zero.     -   To implement a countdown, the initialization value should be set         to a negative number. Then the done signal will be asserted as         the counter rolls over to zero.

Loop counters count once each time the processors requests. They can be commanded to increment and reset. They can be used for notification that a certain number of events have occurred or count the number of events for the user. Counters 0-7 are loop counters.

Time counters, once started, count once each time a fibre channel word arrives. They can be commanded to start, stop, and reset. They can be used to provide a delay or timeout or measure the time between two events. Counters 8-15 are time counters.

Word counters count the number of payload words. They can be commanded to add and reset. Every time an “add” command is received the number of words in the frame are added to the counter total. They can be used to measure the amount of traffic that matches a certain criteria. Counters 16-23 are word counters.

Counter Commands:

A counter command is a part of a task that is 7 bits long that issues a command to one counter. 2 bits are used to specify the type of command and 5 bits are used to address the counter. The commands are as follows: Counter type Time Loop Word Command 00 nothing nothing nothing bits 01 start increment add* 6, 5 10 stop reserved add* 11 reset reset reset *note: the two add codes may be used interchangeably; internally, however, the codes are altered to identify which engine's word counter should be added.

Examples of counter commands:

-   0101001: command 01 to counter 01001: reset counter #9 (time     counter) -   1000010: command 10 to counter 00010: increment counter #2 (loop     counter)     Flags

Flags are the method by which different engines communicate with one another. As an example, we may want to trigger on an event occurring on channel 5, but only after an event on channel 2. To do this, channel 2 waits for the first event to occur and then posts a flag. Channel 5 will see the flag, and begin looking for the event that will trigger the device.

There are two types of flags: global and local.

Each channel is always sending out a global flag. Global flags are 3 bits long, so there are 8 possible states. Every channel may receive the flag from every other channel, but can also mask out channels it doesn't care about. This allows channels 3,4, and 5 to cooperate using all 8 flags at the same time as channels 6,7, and 8 cooperate, without the two groups interfering with another.

The local flags are private to a single logic board. Only the other 3 trac processors on the same logic board can receive local flags. In addition, there is only one local flag per trac processor; a trac processor is either transmitting the local flag or it isn't. In addition, the local flags are transient: they appear for a single instruction period and then disappear.

Task Flag Command:

-   0000 do nothing -   0001 transmit a local flag -   001x reserved -   01xx reserved -   1yyy transmit global flag yyy

Hardware Access The trac processor is accessed via a 16-bit bus and has an 8-bit address space, allowing 256 different addresses. Memory Map address name notes 00-1F Program Memory A see access procedures below 20-3F Program Memory B see access procedures below 40-5F reserved for Data Memory 60-7F Registers described below 80-BF Counters see access procedures below C0-FF reserved Register Descriptions address name number access allowed description 60 REG_FLAGIN register 0 read-write flag input control register

This register masks certain channels' global flags from being seen by the trigger engines. For the trigger engines to see global flags from a certain channel, that channel's bit must be set high.

-   -   bit 0: enable channel 1.     -   bit 1: enable channel 2.     -   . . .

bit 15: enable channel 16. access address name number allowed description 61 REG_MEMAPAGE register 1 read-write program memory a page

This register sets the page for Program Memory A. See the “Program Memory Access” section for usage details.

0x00-0x1F are valid pages. access address name number allowed description 62 REG_MEMBPAGE register 2 read-write program memory b page

This register sets the page for Program Memory B. See the “Program Memory Access” section for usage details. access address name number allowed description 63 REG_MISC_IO register 3 read-write miscellaneous i/o configuration

This register controls whether each of the two engines receive the normal data stream or an alternate data stream which is the data from the other channel on the same logic board.

-   -   bit 0: engine A uses alternate data stream.     -   bit 1: engine B uses alternate data stream.     -   bit 2: shared trigger uses AND mode.

bits 7..4: channel for memory ganging input address name number access allowed description 64 REG_SHTRIG registe 4 read-write shared trigger

To allow this channel to be triggered by other channels, this mask register must be set to specify which channels participate in the “shared trigger.” When the SHTRIG_AND bit is set all of the selected channels must trigger before this channel will trigger. When the SHTRIG_AND bit is not set this channel will trigger when any of the selected channels triggers.

-   -   bit 0: enable channel 1.     -   bit 1: enable channel 2.     -   . . .

bit 15: enable channel 16. address name number access allowed description 65-69 reserved register none reserved 5-9

address name number access allowed description 6A REG_RESET register write-only reset register 10 Note: all bits toggle back to 0 automatically.

-   -   bit 0: reset everything     -   bit 1: reset engine a     -   bit 2: reset engine b     -   bit 3: reset engine a interrupt     -   bit 4: reset engine b interrupt     -   bit 5: reset counters

bit 6: reset global flag address name number access allowed description 6B REG_MODEREQ register write-only engine mode 11 request Note: all bits toggle back to 0 automatically.

bits 0-3: Engine A

-   -   0x0: request nothing     -   0x1: request stop     -   0x2: request start     -   0x3: request run-on-sync

bits 4-7: Engine B

-   -   0x0: request nothing     -   0x1: request stop     -   0x2: request start

0x3: request run-on-sync address name number access allowed description 6C- reserved register none reserved 73 12-19

address name number access allowed description 74 REG_ERRFLAG register read-only error flag register 20

-   -   bit 0: engine a

bit 1: engine b address name number access allowed description 75 REG_A_STATE register read-only engine a state 21

-   -   bit 0: engine is running     -   bit 1: engine is waiting for sync

bit 2: engine has an interrupt pending address name number access allowed description 76 REG_A_ERROR register read-only engine a error 22 number 77 REG_B_STATE register read-only engine b state 23

-   -   bit 0: engine is running     -   bit 1: engine is waiting for sync

bit 2: engine has an interrupt pending address name number access allowed description 78 REG_B_ERROR register read-only engine b error 24 number 79- reserved register none reserved 7F 25-32 Program Memory Access

Program memory has two characteristics which makes reads and writes more complex: it is paged and it is 48 bits wide.

To handle the paging, the user must write a number into the “page” register for that memory bank, and then may access the memory through normal reads and writes.

The 48-bit width of the memory is handled by splitting each 48-bit read or write into 3 16-bit reads or writes. While reads may occur in any order, the data in a write will only be written when the third, most significant word is written. Each 48-bit word is mapped into 4 addresses, the fourth address being unused.

Example: addresses for program instruction 0 in program memory A on channel A (write 0x00 to memory A page register at address 5261) Instruction 0 Triword 0 reserved word 2* word 1 word 0 addr 5203 addr 5202 addr 5201 addr 5200 Triword 1 reserved word 2* word 1 word 0 addr 5207 addr 5206 addr 5205 addr 5204 *when a write to this location takes place, words 0, 1, and 2 will be written to memory. Counter Access

All counters, being 32 bits wide, are mapped into two addresses. The most significant word receives the higher address. Reads from the counter addresses must occur least-significant word first. The most-significant word will be latched as the least-significant word is read. This will assure reliable operation while a counter is running.

Time counters have an extra feature which allows them to retain fine resolution and 32-bit width while adding the ability to count over 5 hours: they run in two modes: “fine” and “coarse.” When in the fine mode the user may read bits 0 through 31. When in the coarse mode the user may read bits 39 through 8. The mode switch is automatic.

It is important to note that the value written is the “preset” value that the counter starts at after it is reset, while the value read is the current counter reading. There is no way to read the “preset” value, nor is there a way to write the counter reading. The preset value is stored separately from the counter and may be loaded into the counter repeatedly. Note that preset values for timeouts cannot use the most significant bit and are limited to a period of 80 seconds.

Since all counters always count up, the preset value should be calculated as a negative number. As an example, if we wanted a loop counter to count 5 events then raise its “done” bit, we should program its preset value with −5. Since −5 is 0xFFFB, the counter would read 0xFFFC (−4) after one loop, 0xFFFD −3 after two loops, 0xFFFE (−2) after three, 0xFFFF (−1) after four, and when the fifth event arrives it would roll over to 0x0000, setting the “done” bit, which was our goal. most significant word least significant word counter read: coarse bits 30..0 (if coarse==0), or bits 38..8 (if coarse==1) counter write: bit bits 30..0 31

-   bit 31 must be 1 for delay or timeout applications (other bits     compose a negative number). -   bit 3 must be 0 for timer applications (other bits are zero as well) 

1. A method for controlling the operation of at least three analyzer channels for analyzing a communication network, each analyzer channel including an input connection port, a trace buffer memory and logic circuitry, the method comprising: operably connecting the input connection port of each analyzer channel to a unique node in the communication network; using a host processor operably connected to each analyzer channel to assign ownership of a unique set of analyzer channels to at least two different users such that each user can initiate separate traces that are simultaneously established on the communication network; using the logic circuitry to monitor frame data on the connection port at each node in accordance with a set of instructions established by the user assigned to the analyzer channel for that node; and capturing traces in response to the set of instructions for each analyzer channel such that each user retrieves only the results of the analyzer channels assigned to that user.
 2. A computer system for allocating control of analyzer channels of a multi-channel analyzer having at least three analyzer channels, each analyzer channel including at least an input connection port to a communication network, a trace buffer memory, and logic circuitry controlling selective write operations of traces from the input connection port to the trace buffer memory in response to a status condition, the system comprising: a host processor; a means for operably connecting the host processor to each logic circuitry of the multi-channel analyzer; a computer program that implements directions input into the host processor, whereby the host processor communicates to each logic circuitry for selectively configuring and controlling the multi-channel analyzer for use by a plurality of users, and whereby the host processor selectively allocates control of at least one of the analyzer channels to one of the users in response to directions by the user, so that the user can initiate and retrieve results of an analyzer session simultaneously established with other analyzer sessions for different analyzer channels.
 3. A computer system for allocating control of multiple analyzer channels, each of at least three analyzer channels including at least an input connection port to a communication network, a trace buffer memory, and logic circuitry controlling selective write operations of traces from the input connection port to the trace buffer memory in response to a status condition selectively incorporating status conditions received from other analyzer channels, the system comprising: a host processor; means for operably connecting the host processor to the logic circuitry of each analyzer channel; means executing on the host processor for communicating with each logic circuitry to selectively configure and control the multiple analyzer channels to allow analyzer sessions to be performed for multiple different users simultaneously.
 4. A method for controlling the operation of at least three analyzer channels for analyzing a communications network, each analyzer channel including at least an input connection port to a communication network, a trace buffer memory, and logic circuitry controlling selective write operations of traces from the input connection port to the trace buffer memory in response to a status condition, the method comprising the steps of: operably connecting the input connection port of each analyzer channel to a unique node in the communication network; using a host processor operably connected to each analyzer channel for allocating control of the analyzer channels to a plurality of users, so that each user can initiate and retrieve results of an analyzer session simultaneously established with other analyzer sessions; using the logic circuitry of at least one of the analyzer channels to monitor data on the connection port of the at least one analyzer channel in accordance with directions by the user having control of the analyzer channel; capturing traces on the at least one analyzer channel in accordance with directions by the user having control of the at least one analyzer channel; and transmitting results of the analyzer session to the user.
 5. A method for controlling the operation of a plurality of multi-channel analyzers, each multi-channel analyzer having at least three analyzer channels for analyzing a communications network, each analyzer channel including at least an input connection port to a communication network, a trace buffer memory, and programmable logic circuitry having instruction memory and controlling selective write operations of traces from the input connection port to the trace buffer memory in response to a status condition, the method comprising the steps of: operably connecting the input connection port of each analyzer channel to a unique node in the communication network; using a host processor operably connected to each multi-channel analyzer to select at least one multi-channel analyzer for use in an analyzer session; using the host processor for allocating control of the analyzer channels to a plurality of users so that each user can initiate and retrieve results of an analyzer session simultaneously established with other analyzer sessions for different analyzer channels; optionally and selectively assigning into mutually exclusive groups the analyzer channels allocated to any one of the users, so that each group can be used for an analyzer session simultaneously established with other analyzer sessions for different groups; optionally and selectively identifying a communication network cabling configuration mode used in a hardware installation to which a pair of allocated analyzer channels is connected and in accordance with directions by the user having control of the pair of analyzer channels; programming at least one data capture strategy parameter into the instruction memory of the logic circuitry of an analyzer channel and in accordance with directions by the user having control of the analyzer channel; optionally and selectively programming into the instruction memory of the logic circuitry of an analyzer channel and in accordance with directions by the user having control of the analyzer channel at least one parameter from the group consisting of parameters for prefiltering the amount and type of data captured and parameters for triggering; using the logic circuitry of an analyzer channel allocated to the user to monitor data on the connection port of the analyzer channel in accordance with directions by the user; capturing traces on the analyzer channel; and transmitting results of the analyzer session to the user. 